package com.bdqn.service.impl;

import com.bdqn.mapper.SysCheckItemMapper;
import com.bdqn.pojo.SysCheckItem;
import com.bdqn.service.SysCheckItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysCheckItemServiceImpl implements SysCheckItemService {
    @Autowired
    SysCheckItemMapper sysCheckItemMapper;
    @Override
    public List<SysCheckItem> selectAll(String checkItemName, String keywords, String status){
        List<SysCheckItem> list=sysCheckItemMapper.selectAll(checkItemName,keywords,status);
        return list;
    }
    public int update(SysCheckItem sysCheckItem){
        int r=sysCheckItemMapper.update(sysCheckItem);
        return r;
    }
    public int insert(SysCheckItem form){
        int r=sysCheckItemMapper.insert(form);
        return r;
    }
}
